package com.zeei.ems.base.config;

import com.zeei.ems.base.constant.GlobalConstant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MqConfig {

    @Bean
    public Queue createQueue(){
        return new Queue(GlobalConstant.CMD_QUEUE, true);
    }

}
